import turtle as t
import time
colors = ['red', 'yellow', 'blue']
t.speed(0)
for i in range(1, 100):
    t.color(colors[i % 3])
    t.left(120)
    t.forward(i * 5)
time.sleep(5)
